package org.springblade.modules.repair.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * @Date 15:38 2022/3/30
 * @Description {
 *   模板分类树
 * }
 * @Author lsay
 **/
@Data
public class TemplateLocationTypeTreeVO {

	/**
	 * 关联id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;

	/**
	 * 模板id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long templateId;

	/**
	 * 模板分类id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long tltId;

	/**
	 * 模板分类名称
	 */
	private String name;

	/**
	 * 模板分类父级id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long tltParentId;

	/**
	 * 模板分类父级名称
	 */
	private String parentName;

	/**
	 * 工作项数量
	 */
	private Integer contentCount;

	/**
	 * 子级
	 */
	private List<TemplateLocationTypeTreeVO> children;

}
